package com.yingxin.yxerp.module.activiti.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yingxin.yx.framework.mybatisplus.common.CommonEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * activiti 表单 bpmn
 * @author fanchao
 * @since 2022-05-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_activiti_form_bpmn")
public class ActivitiFormBpmn extends CommonEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 表单key 
     */
    @TableId("id")
    private String id;

    /**
     * 当前流程定义id
     */
    private String processDefinitionId;

    /**
     * 流程版本
     */
    private String processVersion;

    /**
     * bpmn_content
     */
    private String bpmnContent;

    /**
     * bpmn_task
     */
    private String bpmnTask;

    /**
     * bpmn_condition_expression
     */
    private String bpmnConditionExpression;

    /**
     * bpmn_graph_data
     */
    private String bpmnGraphData;

    /**
     * 更新者id
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updaterId;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;


}
